package com.mc.adapter.wechat.mpAPI.message.normal;

import com.mc.adapter.wechat.mpAPI.message.MsgType;

/**
 * 语音消息
 *
 * @author qsyang
 * @version 1.0
 */
public class VoiceInputMessage extends NormalMessage {

	// 语音消息媒体id，可以调用多媒体文件下载接口拉取数据。
	private String	MediaId;
	// 语音格式，如amr，speex等
	private String	Format;
	// 语音识别结果，使用UTF8编码
	private String	Recognition;

	@Override
	public String getMsgType() {
		return MsgType.Voice.toString();
	}

	public String getMediaId() {
		return this.MediaId;
	}

	public void setMediaId(String MediaId) {
		this.MediaId = MediaId;
	}

	public String getFormat() {
		return this.Format;
	}

	public void setFormat(String Format) {
		this.Format = Format;
	}

	public String getRecognition() {
		return this.Recognition;
	}

	public void setRecognition(String Recognition) {
		this.Recognition = Recognition;
	}

}
